package van.planifolia.strategy;

/**
 * Created by Intellij IDEA<br>
 *
 * @author Planifolia.Van
 * @version 1.0
 * @date 2022/11/10 17:38
 */
public class Discount1111 implements Discount {
    /**
     * 双 11 打5折
     *
     * @param price 商品原本的价格
     * @return 打完折的价格
     */
    @Override
    public double productPromotion(double price) {
        System.out.println("双11打5折");
        return price * 0.5;
    }
}
